package com.zhuang.convert;

import com.zhuang.convert.srevice.ConvertService;

import java.io.File;

/**
 * Created by zhuanglei on 15/4/26.
 */
public class MainRun {

    public static void main(String[] args){
        File sourceFile = new File(args[0]);
        ConvertService service = new ConvertService(sourceFile);
        String destFile = sourceFile.getPath() + File.pathSeparator + "sqlout.sql";
        service.writeToFile(destFile,service.getSql());
    }
}
